import api from "../api";

const queryAppraisePage = function (params) {
  return api.postRequest(api.requestURL + `travel/appraise/queryAppraisePage`, params, false, {'Content-Type': 'application/json'})
}

const deleteAppraise = function (params) {
  return api.postRequest(api.requestURL + `travel/appraise/deleteAppraise?isAdmin=1`, params, false, {'Content-Type': 'application/json'})
}

const replyAppraise = function (params) {
  return api.postRequest(api.requestURL + `travel/appraise/replyAppraise`, params, false, {'Content-Type': 'application/json'})
}


export default {
  queryAppraisePage,
  deleteAppraise,
  replyAppraise
}
